/********************************************************************************
* @author: Liu  HZ
* @date: 2024/9/8
* @description: 
********************************************************************************/
#include "SystemInfo.hpp"
#include <iostream>

using namespace std;

int main() {

    uint64_t threadsCount = 0;

    getSystemThreads(threadsCount);

    cout << "CPP17 调用获取线程数方法获取的线程数: "<<threadsCount << endl;

    cout << "加载系统配置文件获取线程数: "<< getSystemThreads() << endl;

    uint64_t  coreCount = getSystemCoreCount();

    cout << "加载系统配置文件获取核心数: "<< coreCount << endl;
}